package com.ruoyi.reim.mapper;

import com.ruoyi.reim.domain.WorkflowReimDetail;

import java.util.List;

/**
 * 报销审批明细Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-16
 */
public interface WorkflowReimDetailMapper
{
    /**
     * 查询报销审批明细
     *
     * @param id 报销审批明细ID
     * @return 报销审批明细
     */
    public WorkflowReimDetail selectWorkflowReimDetailById(Integer id);

    /**
     * 查询报销审批明细列表
     *
     * @param workflowReimDetail 报销审批明细
     * @return 报销审批明细集合
     */
    public List<WorkflowReimDetail> selectWorkflowReimDetailList(WorkflowReimDetail workflowReimDetail);

    /**
     * 新增报销审批明细
     *
     * @param workflowReimDetail 报销审批明细
     * @return 结果
     */
    public int insertWorkflowReimDetail(WorkflowReimDetail workflowReimDetail);

    /**
     * 修改报销审批明细
     *
     * @param workflowReimDetail 报销审批明细
     * @return 结果
     */
    public int updateWorkflowReimDetail(WorkflowReimDetail workflowReimDetail);

    /**
     * 删除报销审批明细
     *
     * @param id 报销审批明细ID
     * @return 结果
     */
    public int deleteWorkflowReimDetailById(Integer id);

    /**
     * 批量删除报销审批明细
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkflowReimDetailByIds(Integer[] ids);

    /**
     * 批量新增
     * @param list
     * @return
     */
    int saveList(List<WorkflowReimDetail> list);
}
